<?php /* Smarty version Smarty-3.1.8, created on 2012-05-18 21:03:37
         compiled from "application/views/templates\main\photo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:163844fad7515eb13a8-99625696%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '94795ede438bef979901d9ac644dd7fd6d2c7f36' => 
    array (
      0 => 'application/views/templates\\main\\photo.tpl',
      1 => 1337374748,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '163844fad7515eb13a8-99625696',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fad7516033de0_40810338',
  'variables' => 
  array (
    'photos' => 0,
    'row' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fad7516033de0_40810338')) {function content_4fad7516033de0_40810338($_smarty_tpl) {?>		<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['photos']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
 $_smarty_tpl->tpl_vars['val']->value = $_smarty_tpl->tpl_vars['row']->key;
?>	
			<div class="span8">
				<h1> <?php echo $_smarty_tpl->tpl_vars['row']->value['p_caption'];?>
</h1>
			</div>
			<div class="span2"> 
			</div>
			<div class="span10">
			<h3> 
			<a href="javascript:show_comment_panel(<?php echo $_smarty_tpl->tpl_vars['row']->value['p_id'];?>
,'photo','<?php echo $_smarty_tpl->tpl_vars['row']->value['p_caption'];?>
','<?php echo $_smarty_tpl->tpl_vars['row']->value['u_name'];?>
');">Comment</a>
			<a href="javascript:show_recommend_panel(<?php echo $_smarty_tpl->tpl_vars['row']->value['p_id'];?>
,'photo','<?php echo $_smarty_tpl->tpl_vars['row']->value['p_caption'];?>
','<?php echo $_smarty_tpl->tpl_vars['row']->value['u_name'];?>
')">Recommend</a></h3>
			</div>
			<div class="span8"><a href="#"><?php echo $_smarty_tpl->tpl_vars['row']->value['u_username'];?>
</a> posted a note from <a href="#"><?php echo $_smarty_tpl->tpl_vars['row']->value['l_name'];?>
</a></div>
			
			<div class ="span2"></div>
			
			<div class = "span8">
				<div class="thumbnail">
					<img src="/uploads/<?php echo $_smarty_tpl->tpl_vars['row']->value['p_id'];?>
.jpg" alt="">
				</div>
			</div>
		<?php } ?><?php }} ?>